namespace AdminApiTemplate.Common.Models
{
    /// <summary>
    /// 方法执行结果
    /// </summary>
    public class MethodResult
    {
        /// <summary>
        /// 错误码 0=没有错误
        /// </summary>
        public int Code { get; set; }

        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 参数1
        /// </summary>
        public object P1 { get; set; }

        /// <summary>
        /// 参数2
        /// </summary>
        public object P2 { get; set; }

        /// <summary>
        /// 参数3
        /// </summary>
        public object P3 { get; set; }
    }
}
